package com.ljfiction.book.Baner;

import java.util.List;

public class MyAuhtorMessageBean {


    /**
     * returnCode : 200
     * msg : 数据加载成功
     * data : {"bookInfoMap":[{"CommCounts":3,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","parCounts":0,"bookName":"测试同步","bookId":16937},{"CommCounts":36,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/bookcover00035.jpg?time=1530005327073","parCounts":8,"bookName":"佛系","bookId":35},{"CommCounts":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","parCounts":0,"bookName":"天亦有情","bookId":17233},{"CommCounts":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","parCounts":0,"bookName":"测试同步2","bookId":17255}]}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<BookInfoMapBean> bookInfoMap;

        public List<BookInfoMapBean> getBookInfoMap() {
            return bookInfoMap;
        }

        public void setBookInfoMap(List<BookInfoMapBean> bookInfoMap) {
            this.bookInfoMap = bookInfoMap;
        }

        public static class BookInfoMapBean {
            /**
             * CommCounts : 3
             * bookImage : http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg
             * parCounts : 0
             * bookName : 测试同步
             * bookId : 16937
             * allCounts:3
             */

            private int CommCounts;
            private String bookImage;
            private int parCounts;
            private String bookName;
            private int bookId;
            private int allCounts;

            public int getAllCounts() {
                return CommCounts+parCounts;
            }

            public void setAllCounts(int allCounts) {
                this.allCounts = allCounts;
            }

            public int getCommCounts() {
                return CommCounts;
            }

            public void setCommCounts(int CommCounts) {
                this.CommCounts = CommCounts;
            }

            public String getBookImage() {
                return bookImage;
            }

            public void setBookImage(String bookImage) {
                this.bookImage = bookImage;
            }

            public int getParCounts() {
                return parCounts;
            }

            public void setParCounts(int parCounts) {
                this.parCounts = parCounts;
            }

            public String getBookName() {
                return bookName;
            }

            public void setBookName(String bookName) {
                this.bookName = bookName;
            }

            public int getBookId() {
                return bookId;
            }

            public void setBookId(int bookId) {
                this.bookId = bookId;
            }
        }
    }
}
